package com.smmisia.article.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.smmisia.article.dto.article.ArticleUserInfoDTO;
import com.smmisia.article.dto.article.ArticleUserDTO;
import com.smmisia.article.dto.response.UpDTO;
import com.smmisia.article.dto.response.UserInfoDTO;
import com.smmisia.article.dto.response.UserResDTO;
import com.smmisia.article.entity.User;
import com.smmisia.article.request.UpdateUserRequest;
import com.smmisia.common.Result.Result;

import java.util.List;
import java.util.Map;


public interface UserService extends IService<User> {


    Result<UserInfoDTO> simpleInfo(Integer id);

    Result<List<UpDTO>> upInfo();

    Result<List<ArticleUserDTO>> likelist();

    Result<List<UserResDTO>> leaderboard();

    Result<ArticleUserInfoDTO> articleUser();

    void importDBFromExcel10w(List<Map<Integer, String>> dataList);

    Result<String> getSignature(Integer id);

    Result<String> updateUserInfo(UpdateUserRequest request);
}
